<template>
  <el-tabs
    type="border-card"
    tab-position="right"
    class="emr-list"
    :class="{ aside_emrList_show: !asideStatus }"
  >
    <el-tab-pane label="病历列表"></el-tab-pane>
    <el-tab-pane label="既往病历">既往病历</el-tab-pane>
    <!-- <el-tab-pane disabled>
        </el-tab-pane> -->
  </el-tabs>
</template>

<script>
export default {
  props: {
    asideStatus,
  },
};
</script>

<style>
.emr-list {
  width: 220px;
  transition: width 0.3s;
  position: relative;
  margin-right: 2px;
}

.aside_emrList_show {
  width: 30px !important;
}

::v-deep .el-tabs--border-card {
  background: transparent;
  border: none;
  box-shadow: none;
  -webkit-box-shadow: none;
}
::v-deep .el-tabs--border-card > .el-tabs__header {
  background-color: transparent;
  border-bottom: none;
}
::v-deep .el-tabs--border-card > .el-tabs__header .el-tabs__item {
  margin-left: 2px;
  margin-top: 4px;
  height: auto;
  line-height: 24px;
  border: none;
  border-radius: 10px 10px 10px 10px;
  writing-mode: vertical-lr;
  background-color: #f3f7fe;
  padding: 4px 2px;
  color: #0065d5;
}
::v-deep .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  background-color: #0065d5;
  color: #ffffff;
}
</style>